﻿<Window x:Class="SSCAI.Client.Login"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="登录" Height="400" Width="400" WindowStartupLocation="CenterScreen">

    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="AliceBlue"  Offset="0"/>
            <GradientStop Color="#FF10DEE8" Offset="1"/>
        </LinearGradientBrush>
    </Window.Background>
    
    <Grid>
        <Label Content="用户名：" HorizontalAlignment="Left" Margin="28,83,0,254" />
             <Button Visibility="Hidden" Content="密码：" HorizontalAlignment="Left" Margin="28,156,0,0" VerticalAlignment="Top" Width="75"/>
        <TextBox Name="txtUserName" HorizontalAlignment="Left"  Margin="94,86,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="258"/>
        <Label Content="激活码：" HorizontalAlignment="Left" Margin="30,28,0,309" RenderTransformOrigin="0.442,2.259" />
        <TextBox Name="txtCode" HorizontalAlignment="Left"  Margin="94,34,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="258" Text=""/>
        <Button Content="登录" Name="btnLogin" HorizontalAlignment="Left" Margin="28,200,0,0" VerticalAlignment="Top" Width="131" Click="btnLogin_Click"/>
        <Button Content="取消" Name="btnCanel" HorizontalAlignment="Left" Margin="196,200,0,0" VerticalAlignment="Top" Width="130" Click="btnCanel_Click"/>
        <PasswordBox Visibility="Hidden" Name="txtPassword" HorizontalAlignment="Left" Margin="138,153,0,0" VerticalAlignment="Top" Width="188"/>

    </Grid>
</Window>
